home *** CD-ROM | disk | FTP | other *** search
/ The Best of MacTutor - S…e Code for Volumes 1 to 5 / The Best of MacTutor - Source Code for Volume 1-5 (Wayzata Technology)(6031)(1990).bin / Source Code / #27 (Dec 87) / c daisy printer driver / PDEF5.c < prev    next >
C/C++ Source or Header  |  1987-09-13  |  639b  |  26 lines

  1.  
  2. /*
  3.  * Although this printer driver does not do spool printing, I provide
  4.  * a duplicate PDEF to pretend to do so.  That is just a copy of my PDEF 0,
  5.  * and it really does draft printing.  This module is so the application can 
  6.  * call PrPicFile() when it is done.  Some applications just don't get the 
  7.  * hint, and attempt to spool print even when the print record says
  8.  * otherwise.
  9.  */
  10. #include    "prglobals.h"
  11. pascal    void    myPrPicFile();
  12. main()
  13. {
  14.     asm{
  15.         dc.w    ILLEGAL
  16.         jmp    myPrPicFile
  17.     }
  18. }
  19. pascal    void    myPrPicFile(hPrint,pPrPort,pIOBuf,pDevBuf,prStatus)
  20. THPrint        hPrint;
  21. TPPrPort    pPrPort;
  22. Ptr            pIOBuf,pDevBuf;
  23. TPrStatus    *prStatus;
  24. {
  25. }
  26.